<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ page contentType="text/html; charset=utf-8" language="java"
	import="java.sql.*" errorPage=""%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>TracSetup</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="webmasterneo" />
<meta name="description" content="A short description of your site here." />
<link rel="stylesheet" href="style.css" type="text/css" />
</head>

<body>

<div id="header">
	<div class="header"></div>
</div>

<div id="menu">
	<div class="menu"><a href="esci.do">Esci</a></div>
	<div class="menu"><a href="search.do">Elenco ticket</a></div>
	<div class="menu"></div>
	<div class="menu"></div>
	<div class="menu"></div>
</div>

<div id="body">
  <div class="spacer"></div>
	<div class="content">
<form:form acceptCharset="UTF-8" action="tipoIntervento.do"
	commandName="tipoIntervento" id="formTipoIntervento" >
	<input type="hidden" name="idTicket" id="idTicket"
		value="<c:out value='${param.idTicket}'/>" />
	<table width="600" border="1" align="center">
	<tr>
		<td colspan="2">
			Selezionare il tipo intervento e se deve essere fatturato
		</td>
	</tr>
		<tr>
			<td>Tipo intervento</td>
			<td>
			<form:select path="idIntervento">
				<form:option value="-1">-- selezionare --</form:option>
				<form:options items="${listaTipiInterventi}" itemLabel="descrizione" itemValue="idIntervento"/>
			</form:select>
			<form:errors path="idIntervento"></form:errors>
			<!--<select n ame="idTipoIntervento">
				<option value="-1">-- selezionare --</option>
				<c:forEach items="${listaTipiInterventi}" var="item">
				
					<option value="<c:out value='${item.idIntervento}' />"><c:out value="${item.descrizione}" /></option>
				</c:forEach>
			</select>-->
			</td>
		</tr>
			<tr>
				<td>Da fatturare</td>
				<td><input type="checkbox" name="daFatturare" id="daFatturare" /></td>
			</tr>

		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" name="button" id="button"
				value="Invia" /><!-- a href="search.do"> <input type="button" name="Annulla" id="Annulla"
				value="Annulla"  /></a--></td>
		</tr>
	</table>
</form:form></p>	
	</div>
  <div class="spacer"></div>	
	<div id="footer">
		<div class="footer"></div>
		&copy; Copyright 2010 Setup s.r.l. All Rights Reserved.</div>
</div>

</body>

</html>
